package com.aaa.custom.controller.customController;

import com.aaa.custom.service.customService.CustomagentService;
import com.aaa.entity.cart_order.fwb.Customagent;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * fileName:CustomagentController
 * description:
 * author:FWB
 * createTime:2020/1/12 18:59
 * version:1.0.0
 */

@RestController
@RequestMapping("custom")
public class CustomagentController {

    @Autowired
    private CustomagentService customagentService;

    @RequestMapping( "add" )
    public Object AddCustomagent(Customagent customagent){
        return customagentService.AddCustomagent(customagent);
    }

}
